package com.atwei.mango.business.dataScopeDemo.priInfo.mapper;

import com.atwei.mango.business.dataScopeDemo.priInfo.entity.PriInfo;
import com.atwei.mango.mybatis.annotation.DataFilter;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Classname PriInfoMapper
 * @Description 
 * @Date 2022/5/11 11:02
 * @Author liuwei
 */
@Mapper
public interface PriInfoMapper extends BaseMapper<PriInfo> {
    @DataFilter(userFiled = "name")
    List<PriInfo> listScope1(Page<PriInfo> page, String name);
    @DataFilter(userFiled = "name")
    List<PriInfo> listScope2(String name);
    @DataFilter(userFiled = "name")
    List<PriInfo> listScope3(String name);
    @DataFilter(userFiled = "name")
    List<PriInfo> listScope4(String name);
}
